﻿using System;

namespace Dogshow.Infrastructure.Exceptions
{
    public class ValidationException : Exception
    {
        public ValidationException() : base("Podaci nisu validni")
        {
        }

        public ValidationException(string property, string message) : base(message)
        {
            PropertyInError = property;
        }

        public string PropertyInError { get; set; }
    }
}